<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="/css/main.css" type="text/css">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/6.11.5/sweetalert2.min.js"></script>
    <title>更改申请</title>
</head>

<body>
    <div class="header">
        <span class="leftpoint"></span>
        <a href="/hd/node/parentlist" class="lab btn">发布领域</a>
        <a class="lab">发布节点</a>
        <a href="/hd/editlist" class="lab btn">编辑记录</a>
        <a href="/hd/recordlist" class="lab btn selected">更改申请</a> {{template "hd/nav.html" .}}

    </div>
    <div class="nav-bar">
        <span class="nav-title">更改申请</span>
    </div>
    <div class="main">
        <div class="edittable">
            <div class="tabletitle"><span class="tabletitle-sm">个人用户</span></div>
            <div class="tablehint">
                <span class="row52 hint">编辑记录</span>
                <span class="row5 hint">时间</span>
                <span class="row5 hint">编辑人</span>
            </div>

            {{range .Record}}
            <div class="tablecrow">
                <span class="row52 row-content">{{.Content}}</span>
                <span class="row5 row-content">{{date .RecordTime "Y-m-d"}}</span>
                <span class="row5 row-content">{{.UserId | getNickName}}</span>
                <span class="row5 row-button{{.Status}}" onclick="change({{.Status}},{{.Id}})"></span>
            </div>
            {{else}}
            <div class="tablecrow">
                <span class="row5 row-content">无记录</span>
            </div>
            {{end}}
        </div>
    </div>
    <script>
        var url = "/hd/node/add";
    </script>
</body>

</html>